from Utils.command.command import Command
import CloudEngine.core.VTActor as VTActorMod

class CreateOutlinesCommand(Command):
    
    def __init__(self, outlines,options):
        self.outlines = outlines
        self.options = options
        self.actor =  self.execute()

    def execute(self):
        actor =  VTActorMod.VTActor(self.outlines,self.options)
        actor.created_by = "VTActor"
        actor.set_render_type("SURFACE")
        actor.instance.GetProperty().SetLineWidth(2)
        return actor 

        